package com.bw.module_store.adapter

import com.bw.module_store.R
import com.bw.module_store.entity.AddStoreResult
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
/**
 * 智慧园区-01-商家推荐-v1.1-吴熙-20250511
 */
class StoreMerchantAdapter:BaseQuickAdapter<AddStoreResult,BaseViewHolder>(R.layout.item_store) {
    override fun convert(holder: BaseViewHolder, item: AddStoreResult) {
        holder.setText(R.id.tv_store_name,"企业名称："+item.enterpriseName)
        holder.setText(R.id.tv_store_type,"联系人："+item.contactName)
        holder.setText(R.id.tv_store_stockName,"联系方式："+item.contactMethod)
        holder.setText(R.id.tv_store_address,"入驻时间："+item.entryTime)
    }
}